package com.xnyzc.lhy.mis.entity.activity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
*
* 活动结果
*
* @author haoyfa
* @since 2019-12-16
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("oa_sys_activity_reward")
@ApiModel(value="OaSysActivityResult对象", description="活动奖励结果")
public class OaSysActivityReward implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "司机ID")
    private Long driverId;

    @ApiModelProperty(value = "活动周期ID")
    private Long periodId;

    @ApiModelProperty(value = "司机来源。00=推荐人；01=被推荐人。")
    private String driverFrom;

    @ApiModelProperty(value = "符合规则ID")
    private Long ruleId;

    @ApiModelProperty(value = "奖励金额")
    private BigDecimal rewardAmount;

    @ApiModelProperty(value = "奖励的订单，用“,”分割")
    private String rewardOrder;

    @ApiModelProperty(value = "奖励的在线记录，用“,”分割")
    private String rewardOnlineRecord;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "用户来源")
    private String tag;

    @ApiModelProperty(value = "扩展字段1")
    private String expand1;

    @ApiModelProperty(value = "扩展字段2")
    private String expand2;

    @ApiModelProperty(value = "扩展字段3")
    private String expand3;

    @ApiModelProperty(value = "版本号")
    @Version
    private Long version;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    public static final String ID = "id";

    public static final String DRIVER_ID = "driver_id";

    public static final String PERIOD_ID = "period_id";

    public static final String DRIVER_FROM = "driver_from";

    public static final String RULE_ID = "rule_id";

    public static final String REWARD_AMOUNT = "reward_amount";

    public static final String REWARD_ORDER = "reward_order";

    public static final String REMARK = "remark";

    public static final String TAG = "tag";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String EXPAND3 = "expand3";

    public static final String VERSION = "version";

    public static final String DELETED = "deleted";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_USER = "update_user";

    public static final String UPDATE_TIME = "update_time";

}
